package pjwstk.jps.ast.binary;

import pjwstk.jps.ast.Expression;
import pjwstk.jps.ast.IExpression;
import pjwstk.jps.visitor.ASTVisitor;

/**
 * @author s9111_s10304
 * 
 */
public class PlusExpression extends BinaryExpression implements IPlusExpression
{
    public PlusExpression(Expression leftExpr, Expression rightExpr) {
        super(leftExpr, rightExpr);
    }
    
	@Override
	public void accept(ASTVisitor visitor) {
		visitor.visitPlusExpression(this);
	}

	@Override
	public IExpression getLeftExpression() {
		return super.getLeftExpr();
	}

	@Override
	public IExpression getRightExpression() {
		return super.getRightExpr();
	}
}